// Color Beat++, by Terry Guldimann ( Twgul@conncoll.edu )



Durn="1",

CamX="-1",
CamY=".9",
CamZ="-.8",

CmLX="50",
CmLY="0",
CmLZ="0",

CUpX="0",
CUpY="sin(t)",
CUpZ="cos(t)",


//shifts the colors
B0="(sin( (t)        )+1)/2",
B1="(sin( (t+2*PI/3) )+1)/2",
B2="(sin( (t+4*PI/3) )+1)/2",

//makes the bigger dots fade to black faster
C0="(1-dt^3)",

D0="3 * fft( s )",

// the clip then clip-trnc divides the sound into the 3 distinct colors seen
D1=".3+.7*( clip(D0-2)                      )", //end third
D2=".3+.7*( clip(D0-1) - trnc(clip(D0-1)) )", //middle third
D3=".3+.7*( clip(D0)   - trnc(clip(D0))   )", //start third

//Twinkle
C1="sin(20*(dt-t))",
D4=".10*sqr( cos(20*(s+t)) - C1 )",


R="C0*( D1*B0 + D2*B1 + D3*B2 ) +D4",
G="C0*( D2*B0 + D3*B1 + D1*B2 ) +D4",
B="C0*( D3*B0 + D1*B1 + D2*B2 ) +D4",

Blrs=1,
BlrB=1.1,

widt=390,heig=330,

ConL=0,ConB=0,

LWdt="2.6*abs(D0)+2*dt",



C2="dt^2",
X="-58*dt*sqrt(D0)",
Y="D0*3.3*sin( 6.2831853*s+C2)",
Z="D0*3.3*cos( 6.2831853*s+C2)",

Scal="1600",
ScSz=1,

Pers="180",


Vers=40